<?php

class AdminControl extends Control {

    public function index() {
        $data = M('category')->query('SELECT * FROM hd_admin');
        $this->assign('data', $data);
        $this->display();
    }

    public function add() {
        $this->display();
    }

}
